/**
 * BanBu_PhotoAlbumSetViewController
 * @description 本文件提供用户从自己的单个相册列表界面点击右上角设定按钮进入的相册具体设定界面
 * @package
 * @author 		yinlinlin
 * @copyright
 * @version 		1.0
 * @description 本文件提供用户从自己的单个相册列表界面点击右上角设定按钮进入的相册具体设定界面
 */

#import "BanBu_PhotoAlbumSetViewController.h"

@interface BanBu_PhotoAlbumSetViewController ()
{
    NSArray * _setArr;
}
@end

@implementation BanBu_PhotoAlbumSetViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view.

    _setArr = [[NSArray alloc]initWithObjects:@"从本地上传照片",@"拍照上传",@"从本地上传视频",@"拍摄视频上传",@"指定公开范围",@"管理此相册内容", nil];
    _setTable = [[UITableView alloc]initWithFrame:CGRectMake(0, 0, __MainScreen_Width, __MainScreen_Height) style:UITableViewStylePlain];
    _setTable.delegate = self;
    _setTable.dataSource = self;
    _setTable.separatorStyle = UITableViewCellSeparatorStyleNone;
    [self.view addSubview:_setTable];
    
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    return 6;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    static NSString * cellIdentify = @"setCell";
    UITableViewCell * cell = [tableView dequeueReusableCellWithIdentifier:cellIdentify];
    if (!cell)
    {
        cell = [[[UITableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellIdentify]autorelease];
    }
    cell.textLabel.text = [_setArr objectAtIndex:indexPath.row];
    return cell;
}
- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
